package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;


/**
 * <p>
 *
 * @Author：Roy
 * @Description：预警阈值
 * @Date：Create by 2023-12-04 14:51:04
 */
@Data
@ToString
@TableName("ecp_tt_early_warning_threshold")
public class EarlyWarningThresholdEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /* 预警Id */
    private String earlyWarningId;

    /* 排序号 */
    private Integer sort;

    /* 判断规则(1:大于等于,2:小于等于) */
    private String judgeRule;

    /* 阈值数值 */
    private BigDecimal thresholdValue;

    /* 预警级别(1:红色预警(一级),2:橙色预警(二级),3:黄色预警(三级)) */
    private String thresholdLevel;

    /* 机构Id */
    private String deptId;

}
